package com.foreknow.demo6;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public void m1(List a){
        a.size();
    }

    public List m2(){
        List a = new ArrayList();
        return a;
    }

    public static void main(String[] args) {
        Test test = new Test();
        List a = new ArrayList();
        test.m1(a);

        List list = test.m2();
        list.size();
    }
}
